package com.example.seey2023.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@TableName("nocv_news")
public class NcovNews {
    @TableId(value = "id",type= IdType.AUTO)
    private Integer id;
    private String title;
    private String content;
    private String publishby;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime; // 核酸检测时间
}
